package com.iaiai.cobra.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iaiai.cobra.repository.bean.User;
import com.iaiai.cobra.repository.bean.po.UserPo;

/**
 * Created with UserService.
 * Package: com.iaiai.cobra.system.service
 * Author: iaiai
 * Create Time: 2024/6/22 21:45
 * QQ: 176291935
 * Email: 176291935@qq.com
 * Description:
 */
public interface UserService extends IService<User> {

    //查用户
    User queryAccount(String account);

    //分页查询
    Page<User> queryPage(Page page, String search);

    User add(UserPo userPo);

    User edit(UserPo userPo);

}
